<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<!--废单弹窗  -->

<div id="transferOrderPageBox" class="dialog-warp-ajax">
    <form action="" id="transferOrderBoxForm" >
        <table class="dggui-table-info">
            <tbody>
            <tr>
                <th><span class="required">废单原因：</span></th>
                <td>
                    <select class="dggui-select" id="applyReason" name="applyReason">
                        <option value="" >请选择</option>
                        <c:forEach items="${list}" var="list">
                            <option value="${list.name}" id="${list.id}" >${list.name}</option>
                        </c:forEach>
                    </select>
                </td>
            </tr>
            <tr>
                <th><span class="required">废单审核人：</span></th>
                <td>
                    <select class="dggui-select" id="auditorId" name="auditorId">
                    </select>
                </td>
            </tr>
            <tr>
                <th><span class="required">备注：</span></th>
                <td>
                    <textarea placeholder="请描述废单原因,1-500字" class="dggui-textarea" id="abandon_reason_remark" name="abandon_reason_remark" maxlength="500"></textarea>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
<script type="text/javascript">
    $(function() {
        dggui.use(['select2'],function () {
            var select2 = dggui.select2;
            //初始审核人员
            initUser("RZSC_INCHARGE_USER", "division", "#auditorId");
            select2.render({
                placeholder: "请选择",
                allowClear: true,
                elem: $('#auditorId'),
                width: "280px"
            });
        });
    });


</script>